package com.hl.im.server.infrastrructure.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author huanglin
 */
@Component
@ConfigurationProperties(prefix = "hl.ws")
@Data
public class WebsocketProperties {

  private Integer port = 9090;

  private String path = "/ws";

}
